package cn.itsource.user.mapper;

import cn.itsource.user.domain.WechatUser;
import org.apache.ibatis.annotations.Param;


public interface WechatMapper {
    //通过openid查询WechatUser
     WechatUser findByOpenid(String openid);
    //将登录用户表与微信用户表绑定
    void binder(@Param("loginInfoid") Long loginInfoid, @Param("openid") String openid);
    //保存微信用户
    void save(WechatUser user);
}
